package com.shopx.auth.service;

import com.shopx.auth.bean.SysUserCp;
import com.shopx.auth.model.SysUserCpModel;
import com.shopx.cmm.DTO.PageDTO;

import java.util.List;
//import com.shopx.base.exception.ShopxException;

/**
 * TODO
 * @author lituo
 * @className: SysUserCp
 * @date 2023-05-23
 */
public interface ISysUserCpService {

    /**
     * 查询明细记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return SysUserCpModel
     */
    SysUserCpModel selectByPrimaryKey(SysUserCp sysUserCp);

    /**
     * 新增记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
    int insertSelective(SysUserCp sysUserCp);

    /**
     * 修改记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
    int updateByPrimaryKeySelective(SysUserCp sysUserCp);

    /**
     * 删除记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
    int deleteByPrimaryKey(SysUserCp sysUserCp);


	/**
     * 查询总记录数
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCpModel
     * @return int
     */
    int selectCount(SysUserCpModel sysUserCpModel);

    /**
     * 查询列表
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCpModel
     * @return List<SysUserCpModel>
     */
    List<SysUserCpModel> selectList(SysUserCpModel sysUserCpModel);

    /**
     * 分页查询
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCpModel
     * @return PageModel<SysUserCpModel>
     */
    PageDTO<SysUserCpModel> getListPage(SysUserCpModel sysUserCpModel);

}

